package com.ifast.asset.util;

public class ListUtil {

    //判断数组中 是否有含有某个数
    public static boolean isContains(int[] labels, int id){

        for (int i = 0 ; i < labels.length ; i++){

            if (labels[i]==id){

                return true;
            }
        }
        return false;
    }
}
